<%@ page language="java" import="com.erclab.internal.xpresso.security.User"%>
<% if (request.getParameter("rememberUser") != null) { %>
	<%@ include file="../xpresso/jsp/includes/setUserCookie.jsp" %>
<% } else { %>
	<%@ include file="../xpresso/jsp/includes/getUserCookie.jsp" %>
<% } %>


<% 	User user = (User)session.getAttribute("user"); %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body>

<p>Welcome to xpresso. Current user: <%=(user == null?"-":user.getUserName())%></p>
<p>What do you want to do?</p>
<li><a href="Reports.report">List Reports</a></li>
<li><a href="Forms.report">List Forms</a></li>
<li>Create report </li>
<li>Create form</li>
<li><a href="ObjectCreator.config.form?action=insert">Create report or form automated</a></li>
<li><a href="../jsp/Login.form?action=insert">Login</a></li>
<li><a href="../jsp/Logout.jsp">Logut</a></li>
<li>Create filter</li>

</body>
</html>
